package com.inter.demo2;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import com.inter.demo1.MyTarget;
/**
 * Created by guangyi on 15/12/8.
 */
@Retention(RetentionPolicy.RUNTIME)
public @interface MyAnnotation {
    String hello() default "hello";
    String world();
    int[] array() default {1, 2, 3, 4};
    EnumTest.TrafficLamp lamp();
    MyTarget myAnnotation() default @MyTarget("ddd");
    Class style() default String.class;
}